<?xml version='1.0'?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://Ultima/content/Ultima.css" type="text/css"?>
<window title="Military Calculator" style="direction:ltr;" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns:html="http://www.w3.org/1999/xhtml">

<html:link rel="icon" href="chrome://Ultima/content/Protection.gif"/>

<html:table class="mymainbox" cellpadding="0" cellspacing="10"
style="cursor:default; color:#000000; font-size:11px; font-family:arial, verdana, sans-serif;  background:#ECE9D8; height:570px; width:820px;"><html:tbody><html:tr>

<html:td class="box" width="210" align="left" valign="top"><html:center>
<html:font color="darkblue"><html:u><html:b id="YourProvinceName">Attacker's Information</html:b></html:u></html:font></html:center>

<html:table align="center"><html:tbody>

<html:tr>
<html:td width="110"></html:td>
<html:td width="76"></html:td>
</html:tr>

<html:tr>
<html:td><html:b>Race</html:b></html:td>
<html:td><html:select id="YourRace" style="width: 100%;">
<html:option value="0" selected="selected">Human</html:option>
<html:option value="1">Elf</html:option>
<html:option value="2">Dwarf</html:option>
<html:option value="3">Orc</html:option>
<html:option value="4" disabled="disabled">Gnome</html:option>
<html:option value="5" disabled="disabled">Dark Elf</html:option>
<html:option value="6">Undead</html:option>
<html:option value="7">Avian</html:option>
<html:option value="8">Faery</html:option>
<html:option value="9">Halfling</html:option>
</html:select></html:td>
</html:tr>

<html:tr>
<html:td><html:b id="YourPersonalityName">Personality</html:b></html:td>
<html:td><html:select id="YourPersonality" style="width: 100%;">
<html:option value="0" selected="selected">Merchant</html:option>
<html:option value="1">Mystic</html:option>
<html:option value="2">War Hero</html:option>
<html:option value="3">Warrior</html:option>
<html:option value="4">Rogue</html:option>
<html:option value="5" disabled="disabled">Shepherd</html:option>
<html:option value="6">Sage</html:option>
<html:option value="7">Cleric</html:option>
<html:option value="8" disabled="disabled">Artisan</html:option>
<html:option value="9" disabled="disabled">Freak</html:option>
<html:option value="10" disabled="disabled">General</html:option>
<html:option value="11">Tactician</html:option>
</html:select></html:td>
</html:tr>

<html:tr>
<html:td><html:b>Relations</html:b></html:td>
<html:td><html:select id="YourRelations" style="width: 100%;">
<html:option value="0" selected="selected">None</html:option>
<html:option value="1">Unfriendly</html:option>
<html:option value="2">Hostile</html:option>
<html:option value="3">War</html:option>
<html:option value="4">Outside War</html:option>
<html:option value="5">Intra-Kingdom</html:option>
</html:select></html:td>
</html:tr>

<html:tr>
<html:td><html:b>Stance</html:b></html:td>
<html:td><html:select id="YourStance" style="width: 100%;">
<html:option value="0" selected="selected">Normal</html:option>
<html:option value="1" disabled="disabled">Peaceful</html:option>
<html:option value="2">Fortified</html:option>
<html:option value="3">Aggressive</html:option>
</html:select></html:td>
</html:tr>

<html:tr>
<html:td><html:b>Dragon</html:b></html:td>
<html:td><html:select id="YourDragon" style="width: 100%;">
<html:option value="0" style="color:#000000;" selected="selected">None</html:option>
<html:option value="1" style="color:#880000;">Ruby</html:option>
<html:option value="2" style="color:#008800;">Emerald</html:option>
<html:option value="3" style="color:#000088;">Sapphire</html:option>
<html:option value="4" style="color:#888800;">Gold</html:option>
</html:select></html:td>
</html:tr>

<html:tr>
<html:td><html:b>Soldiers</html:b></html:td>
<html:td><html:input style="width: 76px;" id="YourSoldiers" value="0" type="text" size="10" /></html:td>
</html:tr>

<html:tr>
<html:td><html:b id="YourOffSpecsName">Swordsmen</html:b></html:td>
<html:td><html:input style="width: 76px;" id="YourOffSpecs" value="0" type="text" size="10" /></html:td>
</html:tr>

<html:tr style="display:none;">
<html:td><html:font color="blue"><html:b>Your Def</html:b></html:font></html:td>
<html:td><html:input style="width: 76px;" id="YourDefSpecs" value="0" type="text" size="10" /></html:td>
</html:tr>

<html:tr>
<html:td><html:b id="YourElitesName">Knights</html:b></html:td>
<html:td><html:input style="width: 76px;" id="YourElites" value="0" type="text" size="10" /></html:td>
</html:tr>

<html:tr>
<html:td><html:b>Land</html:b></html:td>
<html:td><html:input style="width: 76px;" id="YourLand" value="0" type="text" size="10" /></html:td>
</html:tr>

<html:tr>
<html:td><html:b>Networth</html:b></html:td>
<html:td><html:input style="width: 76px;" id="YourNW" value="0" type="text" size="10" /></html:td>
</html:tr>

<html:tr>
<html:td><html:b>KD Networth</html:b></html:td>
<html:td><html:input style="width: 76px;" id="YourKDNW" value="0" type="text" size="10" /></html:td>
</html:tr>

<html:tr>
<html:td><html:b>Off. Military Eff</html:b></html:td>
<html:td><html:input style="width: 76px;" id="YourOME" value="100" type="text" size="10" /></html:td>
</html:tr>

<html:tr style="display:none;">
<html:td><html:font color="blue"><html:b>Def ME</html:b></html:font></html:td>
<html:td><html:input style="width: 76px;" id="YourDME" value="100" type="text" size="10" /></html:td>
</html:tr>

<html:tr>
<html:td><html:b>% Buildings Eff</html:b></html:td>
<html:td><html:input style="width: 76px;" id="YourBE" value="100" type="text" size="10" /></html:td>
</html:tr>

<html:tr style="display:none;">
<html:td><html:font color="blue"><html:b>% Guard Station</html:b></html:font></html:td>
<html:td><html:input style="width: 76px;" id="YourGuardStation" value="0" type="text" size="10" /></html:td>
</html:tr>

<html:tr>
<html:td><html:b>% Military Sci.</html:b></html:td>
<html:td><html:input style="width: 76px;" id="YourMilitarySci" value="0" type="text" size="10" /></html:td>
</html:tr>


<html:tr>
<html:td colspan="2" style="background-image: url(chrome://Ultima/content/Ultima_Hsep.gif); height:8px;" align="center" valign="top"></html:td>
</html:tr>


<html:tr>
<html:td><html:b>Generals to Send</html:b></html:td>
<html:td><html:select id="YourGenerals" style="width: 100%;">
<html:option value="0" selected="selected">1</html:option>
<html:option value="3">2</html:option>
<html:option value="6">3</html:option>
<html:option value="9">4</html:option>
<html:option value="12">5</html:option>
</html:select></html:td>
</html:tr>

<html:tr>
<html:td><html:b>Extend Attack Time</html:b></html:td>
<html:td><html:select id="YourAttackTime" style="width: 100%;">
<html:option value="0" selected="selected">0</html:option>
<html:option value="3">+1</html:option>
<html:option value="6">+2</html:option>
<html:option value="9">+3</html:option>
<html:option value="12">+4</html:option>
</html:select></html:td>
</html:tr>

<html:tr>
<html:td>
<html:table border="0" cellpadding="0" cellspacing="0" width="100%"><html:tr>
<html:td width="50%"><html:b>Horses</html:b></html:td>
<html:td width="50%" align="right"><html:input id="YourOptimizeHorses" onclick="Optimize_Horses()" value="Optimize" style="background-color: transparent; font-size: 8pt; font-weight: bold; width: 60px;" disabled="disabled" type="button" /></html:td>
</html:tr></html:table>
</html:td>
<html:td><html:input style="width: 76px;" id="YourHorses" value="0" type="text" size="10" /></html:td>
</html:tr>

<html:tr>
<html:td>
<html:table border="0" cellpadding="0" cellspacing="0" width="100%"><html:tr>
<html:td width="50%"><html:b>Mercenaries</html:b></html:td>
<html:td width="50%" align="right"><html:input id="YourMaxMerc" onclick="Max_Merc()" value="Max" style="background-color: transparent; font-size: 8pt; font-weight: bold; width: 35px;" disabled="disabled" type="button" /></html:td>
</html:tr></html:table>
</html:td>
<html:td><html:input style="width: 76px;" id="YourMerc" value="0" type="text" size="10" /></html:td>
</html:tr>

<html:tr>
<html:td>
<html:table border="0" cellpadding="0" cellspacing="0" width="100%"><html:tr>
<html:td width="50%"><html:b>Prisoners</html:b></html:td>
<html:td width="50%" align="right"><html:input id="YourMaxPris" onclick="Max_Pris()" value="Max" style="background-color: transparent; font-size: 8pt; font-weight: bold; width: 35px;" disabled="disabled" type="button" /></html:td>
</html:tr></html:table>
</html:td>
<html:td><html:input style="width: 76px;" id="YourPris" value="0" type="text" size="10" /></html:td>
</html:tr>

<html:tr style="display:none;">
<html:td><html:font color="blue"><html:b>Recently Hit</html:b></html:font></html:td>
<html:td><html:select id="YourRecentlyHit" style="width: 100%;">
<html:option value="0" selected="selected">None</html:option>
<html:option value="1">Couple</html:option>
<html:option value="2">Moderately</html:option>
<html:option value="3">Heavily</html:option>
<html:option value="4">Extremely</html:option>
</html:select></html:td>
</html:tr>

<html:tr style="display:none;">
<html:td><html:input style="background:transparent; border:0px solid #000;" id="YourPeasantsBox" disabled="disabled" type="checkbox" value="ON" /><html:font color="blue"><html:b>Peasants</html:b></html:font></html:td>
<html:td><html:input style="width: 76px;" id="YourPeasants" value="0" type="text" size="10" /></html:td>
</html:tr>

<html:tr style="display:none;">
<html:td colspan="2"><html:input style="background:transparent; border:0px solid #000;" id="YourMonarchBox" disabled="disabled" type="checkbox" value="ON" /><html:font color="blue"><html:b>Monarch</html:b></html:font></html:td>
</html:tr>





</html:tbody></html:table></html:td>









<html:td class="box" align="center" valign="top" style="padding:2px 2px 2px 2px;">

<html:font color="darkblue"><html:b><html:u>Attack Analysis</html:u></html:b></html:font>

<html:table width="100%"><html:tbody>

<html:tr><html:td align="left" height="50" valign="top">
<html:fieldset style="border: 1px solid #ACA899; padding:0px 5px 0px 5px;"><html:legend style="font-size: 9px;">Attacker's Offensive Strength</html:legend>
<html:table align="center" width="100%"><html:tbody>
<html:tr><html:td><html:b>Raw Offense</html:b></html:td><html:td align="right"><html:b id="YourRawOffense">0</html:b></html:td></html:tr>
<html:tr><html:td><html:b>Total Bonuses</html:b></html:td><html:td align="right"><html:b id="YourBonuses">0%</html:b></html:td></html:tr>
<html:tr><html:td><html:b>Modified Offense</html:b></html:td><html:td align="right"><html:b id="YourModifiedOffense">0</html:b></html:td></html:tr>
<html:tr><html:td><html:b>Modified OPA</html:b></html:td><html:td align="right"><html:b id="YourModifiedOPA">?</html:b></html:td></html:tr>
</html:tbody></html:table></html:fieldset></html:td>

<html:td align="left" height="50" valign="top">
<html:fieldset style="border: 1px solid #ACA899; padding:0px 5px 0px 5px;"><html:legend style="font-size: 9px;">Defender's Defensive Strength</html:legend>
<html:table align="center" width="100%"><html:tbody>
<html:tr><html:td><html:b>Raw Defense</html:b></html:td><html:td align="right"><html:b id="EnemyRawDefense">0</html:b></html:td></html:tr>
<html:tr><html:td><html:b>Total Bonuses</html:b></html:td><html:td align="right"><html:b id="EnemyBonuses">5%</html:b></html:td></html:tr>
<html:tr><html:td><html:b>Modified Defense</html:b></html:td><html:td align="right"><html:b id="EnemyModifiedDefense">0</html:b></html:td></html:tr>
<html:tr><html:td><html:b>Modified DPA</html:b></html:td><html:td align="right"><html:b id="EnemyModifiedDPA">?</html:b></html:td></html:tr>
</html:tbody></html:table></html:fieldset></html:td></html:tr>

<html:tr><html:td colspan="2" align="left" height="50" valign="top">
<html:fieldset style="border: 1px solid #ACA899; padding:0px 5px 0px 5px;"><html:legend>Attack Result Estimation</html:legend>
<html:table align="center" width="100%"><html:tbody><html:tr><html:td colspan="2">
<html:table border="0" cellpadding="0" cellspacing="0" width="100%"><html:tr>
<html:td><html:b>Chance for success</html:b></html:td>
<html:td align="right"><html:b id="Chance"><html:font color="#000000">?</html:font></html:b></html:td>
</html:tr></html:table></html:td></html:tr>
<html:tr><html:td><html:b id="MaximumGain">Gain Without Exploration Pool (Normal Hit)</html:b></html:td><html:td align="right"><html:b id="MainGainFormula">0</html:b></html:td></html:tr>
<html:tr><html:td><html:b id="MinimumGain">Gain With Exploration Pool (War Only)</html:b></html:td><html:td align="right"><html:b id="MainGainFormula2">0</html:b></html:td></html:tr>

<html:tr><html:td colspan="2"><html:b id="ChanceInfo">You have the same strength as your enemy</html:b></html:td></html:tr>


</html:tbody></html:table></html:fieldset></html:td></html:tr>

<html:tr>
<html:td colspan="2" align="left" height="20" valign="middle" style="padding:5px 1px 1px 1px;">
<html:table style="height:16px; border: 1px solid #ACA899;" cellpadding="0" cellspacing="1" width="100%"><html:tbody><html:tr><html:td>
<html:div style="background:#000; height: 12px; width: 0px;" id="ChanceBar"></html:div></html:td></html:tr></html:tbody></html:table></html:td>
</html:tr>




<html:tr><html:td colspan="2" align="center" height="20" valign="middle" style="padding:5px 1px 1px 1px;">
<html:input onclick="YourReset()"  value="Reset" style="background-color: transparent; font-size: 8pt; font-weight: bold; width: 60px;" type="button" />
<html:input onclick="YourMove()"   value="Move"  style="background-color: transparent; font-size: 8pt; font-weight: bold; width: 60px;" type="button" />
<html:input onclick="Swap()"       value="Swap"    style="background-color: transparent; font-size: 8pt; font-weight: bold; width: 50px;" type="button" />
<html:input onclick="EnemyMove()"  value="Move"  style="background-color: transparent; font-size: 8pt; font-weight: bold; width: 60px;" type="button" />
<html:input onclick="EnemyReset()" value="Reset" style="background-color: transparent; font-size: 8pt; font-weight: bold; width: 60px;" type="button" />
</html:td></html:tr>

<html:tr><html:td colspan="2" align="center">
<html:input onclick="YourBonuses()"  value="Attacker's Bonuses" style="background-color: transparent; font-size: 8pt; font-weight: bold; width: 130px;" type="button" />
<html:input onclick="SpecialBox()" id="Special" value="Special" style="background-color: transparent; font-size: 8pt; font-weight: bold; width: 70px;"  type="button" />
<html:input onclick="EnemyBonuses()" value="Defender's Bonuses" style="background-color: transparent; font-size: 8pt; font-weight: bold; width: 130px;" type="button" />
</html:td></html:tr>






<html:tr><html:td valign="top">

<html:div id="YourBonusesBox" style="display: none;" align="left">
<html:fieldset style="border: 1px solid #ACA899; padding:0px 5px 0px 5px;">
<html:legend>Attacker's Bonuses</html:legend>
<html:table align="center"><html:tbody>

<html:tr>
<html:td width="50%"></html:td>
<html:td width="70"></html:td>
</html:tr>

<html:tr>
<html:td><html:b>Raw ME</html:b></html:td>
<html:td><html:input style="width: 70px;" id="YourRawME" value="100" type="text" size="10" /></html:td>
</html:tr>

<html:tr>
<html:td><html:b>% TG</html:b></html:td>
<html:td><html:input style="width: 70px;" id="YourTG" value="0" type="text" size="10" /></html:td>
</html:tr>

<html:tr style="display:none;">
<html:td><html:font color="blue"><html:b>% Forts</html:b></html:font></html:td>
<html:td><html:input style="width: 70px;" id="YourForts" value="0" type="text" size="10" /></html:td>
</html:tr>

<html:tr>
<html:td><html:b>Rank</html:b></html:td>
<html:td><html:select id="YourRank" style="width: 100%;">
<html:option value="0" selected="selected">Peasant</html:option>
<html:option value="1">Knight / Lady</html:option>
<html:option value="2">Lord / Noble Lady</html:option>
<html:option value="3">Baron / Baroness</html:option>
<html:option value="4">Viscount / Viscountess</html:option>
<html:option value="5">Count / Countess</html:option>
<html:option value="6">Marquis / Marchioness</html:option>
<html:option value="7">Duke / Duchess</html:option>
<html:option value="8">Prince / Princess</html:option>
</html:select></html:td>
</html:tr>

<html:tr>
<html:td colspan="2"><html:input style="background:transparent; border:0px solid #000;" id="YourAggressionBox" type="checkbox" value="ON" /> <html:b><html:input id="YourAggressionName" style="border: 0px solid ; font-weight: bold; font-size: 12px; background-color: transparent;" size="9" value="Aggression" type="text" /></html:b></html:td>
</html:tr>

<html:tr style="display:none;">
<html:td colspan="2"><html:input style="background:transparent; border:0px solid #000;" id="YourProtectionBox" checked="checked" type="checkbox" value="ON" /> <html:font color="blue"><html:b>Protection</html:b></html:font></html:td>
</html:tr>

<html:tr style="display:none;">
<html:td colspan="2"><html:input style="background:transparent; border:0px solid #000;" id="YourPlagueBox" type="checkbox" value="ON" /> <html:font color="blue"><html:b>Plague</html:b></html:font></html:td>
</html:tr>

<html:tr>
<html:td colspan="2"><html:input style="background:transparent; border:0px solid #000;" id="YourFanaticismBox" disabled="disabled" type="checkbox" value="ON" /> <html:b><html:input id="YourFanaticism" style="border: 0px solid ; font-weight: bold; font-size: 12px; background-color: transparent;" size="9" value="Fanaticism" disabled="disabled" type="text" /></html:b></html:td>
</html:tr>


</html:tbody></html:table></html:fieldset></html:div>

</html:td><html:td valign="top">

<html:div id="EnemyBonusesBox" style="display: none;" align="left">
<html:fieldset style="border: 1px solid #ACA899; padding:0px 5px 0px 5px;">
<html:legend>Defender's Bonuses</html:legend>
<html:table align="center"><html:tbody>

<html:tr>
<html:td width="50%"></html:td>
<html:td width="70"></html:td>
</html:tr>

<html:tr>
<html:td><html:b>Raw ME</html:b></html:td>
<html:td><html:input style="width: 70px;" id="EnemyRawME" value="100" type="text" size="10" /></html:td>
</html:tr>

<html:tr style="display:none;">
<html:td><html:font color="blue"><html:b>% TG</html:b></html:font></html:td>
<html:td><html:input style="width: 70px;" id="EnemyTG" value="0" type="text" size="10" /></html:td>
</html:tr>

<html:tr>
<html:td><html:b>% Forts</html:b></html:td>
<html:td><html:input style="width: 70px;" id="EnemyForts" value="0" type="text" size="10" /></html:td>
</html:tr>

<html:tr style="display:none;">
<html:td><html:font color="blue"><html:b>Rank</html:b></html:font></html:td>
<html:td><html:select id="EnemyRank" style="width: 100%;">
<html:option value="0" selected="selected">Peasant</html:option>
<html:option value="1">Knight / Lady</html:option>
<html:option value="2">Lord / Noble Lady</html:option>
<html:option value="3">Baron / Baroness</html:option>
<html:option value="4">Viscount / Viscountess</html:option>
<html:option value="5">Count / Countess</html:option>
<html:option value="6">Marquis / Marchioness</html:option>
<html:option value="7">Duke / Duchess</html:option>
<html:option value="8">Prince / Princess</html:option>
</html:select></html:td>
</html:tr>

<html:tr style="display:none;">
<html:td colspan="2"><html:input style="background:transparent; border:0px solid #000;" id="EnemyAggressionBox" type="checkbox" value="ON" /> <html:font color="blue"><html:b>Aggression</html:b></html:font></html:td>
</html:tr>

<html:tr>
<html:td colspan="2"><html:input style="background:transparent; border:0px solid #000;" id="EnemyProtectionBox" checked="checked" type="checkbox" value="ON" /><html:b> Protection</html:b></html:td>
</html:tr>

<html:tr>
<html:td colspan="2"><html:input style="background:transparent; border:0px solid #000;" id="EnemyPlagueBox" type="checkbox" value="ON" /> <html:b><html:input id="EnemyPlagueName" style="border: 0px solid ; font-weight: bold; font-size: 12px; background-color: transparent;" size="9" type="text" value="Plague" /></html:b></html:td>
</html:tr>

<html:tr>
<html:td colspan="2"><html:input style="background:transparent; border:0px solid #000;" id="EnemyFanaticismBox" disabled="disabled" type="checkbox" value="ON" /> <html:b><html:input id="EnemyFanaticism" style="border: 0px solid ; font-weight: bold; font-size: 12px; background-color: transparent;" size="9" value="Fanaticism" disabled="disabled" type="text" /></html:b></html:td>
</html:tr>

</html:tbody></html:table></html:fieldset></html:div>



</html:td></html:tr>




<html:tr><html:td colspan="2">

<html:div id="GainFormulaBox" align="left">
<html:fieldset style="border: 1px solid #ACA899; padding:0px 5px 0px 5px;">
<html:legend>Gain Formula Modifiers</html:legend>
<html:table align="center" width="100%"><html:tbody>

<html:tr>
<html:td><html:b>Defender's Land Percentage</html:b></html:td>
<html:td align="right"><html:b id="GainFormulaLand">0</html:b></html:td>
</html:tr>

<html:tr>
<html:td><html:b>Province Networth Factor</html:b> <html:a target="_blank" href="chrome://Ultima/content/Military_Gains1.gif"><html:font color="darkblue">(Graph)</html:font></html:a></html:td>
<html:td align="right"><html:b id="GainFormulaPNWF">1</html:b></html:td>
</html:tr>

<html:tr>
<html:td><html:b>Kingdom Networth Factor</html:b> <html:a target="_blank" href="chrome://Ultima/content/Military_Gains2.gif"><html:font color="darkblue">(Graph)</html:font></html:a></html:td>
<html:td align="right"><html:b id="GainFormulaKNWF">1</html:b></html:td>
</html:tr>

<html:tr>
<html:td><html:b>Attacker's Race</html:b></html:td>
<html:td align="right"><html:b id="GainFormulaRace">1</html:b></html:td>
</html:tr>

<html:tr>
<html:td><html:b>Stance</html:b> (Aggressive +10% Combat Gains)</html:td>
<html:td align="right"><html:b id="GainFormulaStance">1</html:b></html:td>
</html:tr>

<html:tr>
<html:td><html:b>Relations</html:b> (Hostile +10% Combat Gains)</html:td>
<html:td align="right"><html:b id="GainFormulaRelations">1</html:b></html:td>
</html:tr>

<html:tr>
<html:td><html:b>Attacker's Military Sciences</html:b></html:td>
<html:td align="right"><html:b id="GainFormulaSciences">1</html:b></html:td>
</html:tr>

<html:tr>
<html:td><html:b>Defender's Guard Stations</html:b></html:td>
<html:td align="right"><html:b id="GainFormulaGS">1</html:b></html:td>
</html:tr>

<html:tr>
<html:td><html:b>Dragon</html:b> (Emerald -15% Combat Gains)</html:td>
<html:td align="right"><html:b id="GainFormulaDragon">1</html:b></html:td>
</html:tr>

<html:tr>
<html:td><html:b>Defender's Gang Bang Protection</html:b></html:td>
<html:td align="right"><html:b id="GainFormulaGBP">1</html:b></html:td>
</html:tr>

<html:tr>
<html:td><html:b>Attacker's Extend Attack Time</html:b></html:td>
<html:td align="right"><html:b id="GainFormulaTime">1</html:b></html:td>
</html:tr>


</html:tbody></html:table></html:fieldset></html:div>


</html:td></html:tr>


<html:tr><html:td colspan="2" align="center">
<html:div id="SpecialBox" style="display: none;" align="left">


<html:fieldset style="border: 1px solid #ACA899; padding:0px 5px 0px 5px;">
<html:legend>Trad Marches</html:legend>
Base gains are 12% and Traditional March gains are capped at 20% of your or your opponent's land, whichever is smaller.
</html:fieldset>

<html:fieldset style="border: 1px solid #ACA899; padding:0px 5px 0px 5px;">
<html:legend>Plunders</html:legend>
Base gains are 50% gold, 60% food and 60% runes. Max gains is 1.35x base (67.5% gold, 81% runes/food).
</html:fieldset>

<html:fieldset style="border: 1px solid #ACA899; padding:0px 5px 0px 5px;">
<html:legend>Learn</html:legend>
Base gains are 9.375% of each category of science.
</html:fieldset>

<html:fieldset style="border: 1px solid #ACA899; padding:0px 5px 0px 5px;">
<html:legend>Conquests</html:legend>
Base gains are 6.8% land for a full hit, gains are decreased in proportion to the relative offense sent vs. targets defence.
</html:fieldset>

<html:fieldset style="border: 1px solid #ACA899; padding:0px 5px 0px 5px;">
<html:legend>Massacres</html:legend>
Base gains are 9.5% peasants, 8.5% thieves and 5% wizards
</html:fieldset>


</html:div></html:td></html:tr>
















</html:tbody></html:table></html:td>








<html:td class="box" width="210" align="left" valign="top"><html:center>
<html:font color="darkblue"><html:u><html:b id="EnemyProvinceName">Defender's Information</html:b></html:u></html:font></html:center>

<html:table align="center"><html:tbody>

<html:tr>
<html:td width="110"></html:td>
<html:td width="76"></html:td>
</html:tr>

<html:tr>
<html:td><html:b>Race</html:b></html:td>
<html:td><html:select id="EnemyRace" style="width: 100%;">
<html:option value="0" selected="selected">Human</html:option>
<html:option value="1">Elf</html:option>
<html:option value="2">Dwarf</html:option>
<html:option value="3">Orc</html:option>
<html:option value="4" disabled="disabled">Gnome</html:option>
<html:option value="5" disabled="disabled">Dark Elf</html:option>
<html:option value="6">Undead</html:option>
<html:option value="7">Avian</html:option>
<html:option value="8">Faery</html:option>
<html:option value="9">Halfling</html:option>
</html:select></html:td>
</html:tr>

<html:tr>
<html:td><html:b id="EnemyPersonalityName">Personality</html:b></html:td>
<html:td><html:select id="EnemyPersonality" style="width: 100%;">
<html:option value="0" selected="selected">Merchant</html:option>
<html:option value="1">Mystic</html:option>
<html:option value="2">War Hero</html:option>
<html:option value="3">Warrior</html:option>
<html:option value="4">Rogue</html:option>
<html:option value="5" disabled="disabled">Shepherd</html:option>
<html:option value="6">Sage</html:option>
<html:option value="7">Cleric</html:option>
<html:option value="8" disabled="disabled">Artisan</html:option>
<html:option value="9" disabled="disabled">Freak</html:option>
<html:option value="10" disabled="disabled">General</html:option>
<html:option value="11">Tactician</html:option>
</html:select></html:td>
</html:tr>

<html:tr>
<html:td><html:b>Relations</html:b></html:td>
<html:td><html:select id="EnemyRelations" style="width: 100%;">
<html:option value="0" selected="selected">None</html:option>
<html:option value="1">Unfriendly</html:option>
<html:option value="2">Hostile</html:option>
<html:option value="3">War</html:option>
<html:option value="4">Outside War</html:option>
<html:option value="5">Intra-Kingdom</html:option>
</html:select></html:td>
</html:tr>

<html:tr>
<html:td><html:b>Stance</html:b></html:td>
<html:td><html:select id="EnemyStance" style="width: 100%;">
<html:option value="0" selected="selected">Normal</html:option>
<html:option value="1" disabled="disabled">Peaceful</html:option>
<html:option value="2">Fortified</html:option>
<html:option value="3">Aggressive</html:option>
</html:select></html:td>
</html:tr>

<html:tr>
<html:td><html:b>Dragon</html:b></html:td>
<html:td><html:select id="EnemyDragon" style="width: 100%;">
<html:option value="0" style="color:#000000;" selected="selected">None</html:option>
<html:option value="1" style="color:#880000;">Ruby</html:option>
<html:option value="2" style="color:#008800;">Emerald</html:option>
<html:option value="3" style="color:#000088;">Sapphire</html:option>
<html:option value="4" style="color:#888800;">Gold</html:option>
</html:select></html:td>
</html:tr>

<html:tr>
<html:td><html:b>Soldiers</html:b></html:td>
<html:td><html:input style="width: 76px;" id="EnemySoldiers" value="0" type="text" size="10" /></html:td>
</html:tr>

<html:tr style="display:none;">
<html:td><html:font color="blue"><html:b>Enemy Off</html:b></html:font></html:td>
<html:td><html:input style="width: 76px;" id="EnemyOffSpecs" value="0" type="text" size="10" /></html:td>
</html:tr>

<html:tr>
<html:td><html:b id="EnemyDefSpecsName">Archers</html:b></html:td>
<html:td><html:input style="width: 76px;" id="EnemyDefSpecs" value="0" type="text" size="10" /></html:td>
</html:tr>

<html:tr>
<html:td><html:b id="EnemyElitesName">Knights</html:b></html:td>
<html:td><html:input style="width: 76px;" id="EnemyElites" value="0" type="text" size="10" /></html:td>
</html:tr>

<html:tr>
<html:td><html:b>Land</html:b></html:td>
<html:td><html:input style="width: 76px;" id="EnemyLand" value="0" type="text" size="10" /></html:td>
</html:tr>

<html:tr>
<html:td><html:b>Networth</html:b></html:td>
<html:td><html:input style="width: 76px;" id="EnemyNW" value="0" type="text" size="10" /></html:td>
</html:tr>

<html:tr>
<html:td><html:b>KD Networth</html:b></html:td>
<html:td><html:input style="width: 76px;" id="EnemyKDNW" value="0" type="text" size="10" /></html:td>
</html:tr>

<html:tr style="display:none;">
<html:td><html:font color="blue"><html:b>Off ME</html:b></html:font></html:td>
<html:td><html:input style="width: 76px;" id="EnemyOME" value="100" type="text" size="10" /></html:td>
</html:tr>

<html:tr>
<html:td><html:b>Def. Military Eff</html:b></html:td>
<html:td><html:input style="width: 76px;" id="EnemyDME" value="100" type="text" size="10" /></html:td>
</html:tr>

<html:tr>
<html:td><html:b>% Buildings Eff</html:b></html:td>
<html:td><html:input style="width: 76px;" id="EnemyBE" value="100" type="text" size="10" /></html:td>
</html:tr>

<html:tr>
<html:td><html:b>% Guard Station</html:b></html:td>
<html:td><html:input style="width: 76px;" id="EnemyGuardStation" value="0" type="text" size="10" /></html:td>
</html:tr>

<html:tr style="display:none;">
<html:td><html:font color="blue"><html:b>% Military Sci.</html:b></html:font></html:td>
<html:td><html:input style="width: 76px;" id="EnemyMilitarySci" value="0" type="text" size="10" /></html:td>
</html:tr>


<html:tr>
<html:td colspan="2" style="background-image: url(chrome://Ultima/content/Ultima_Hsep.gif); height:8px;" align="center" valign="top"></html:td>
</html:tr>


<html:tr style="display:none;">
<html:td><html:font color="blue"><html:b>Generals to Send</html:b></html:font></html:td>
<html:td><html:select id="EnemyGenerals" style="width: 100%;">
<html:option value="0" selected="selected">1</html:option>
<html:option value="3">2</html:option>
<html:option value="6">3</html:option>
<html:option value="9">4</html:option>
<html:option value="12">5</html:option>
</html:select></html:td>
</html:tr>

<html:tr style="display:none;">
<html:td><html:font color="blue"><html:b>ExtendAttackTime</html:b></html:font></html:td>
<html:td><html:select id="EnemyAttackTime" style="width: 100%;">
<html:option value="0" selected="selected">0</html:option>
<html:option value="3">+1</html:option>
<html:option value="6">+2</html:option>
<html:option value="9">+3</html:option>
<html:option value="12">+4</html:option>
</html:select></html:td>
</html:tr>

<html:tr style="display:none;">
<html:td><html:font color="blue"><html:b>Horses</html:b></html:font></html:td>
<html:td><html:input style="width: 76px;" id="EnemyHorses" value="0" type="text" size="10" /></html:td>
</html:tr>

<html:tr style="display:none;">
<html:td><html:font color="blue"><html:b>Mercenaries</html:b></html:font></html:td>
<html:td><html:input style="width: 76px;" id="EnemyMerc" value="0" type="text" size="10" /></html:td>
</html:tr>

<html:tr style="display:none;">
<html:td><html:font color="blue"><html:b>Prisoners</html:b></html:font></html:td>
<html:td><html:input style="width: 76px;" id="EnemyPris" value="0" type="text" size="10" /></html:td>
</html:tr>

<html:tr>
<html:td><html:b>Recently Hit</html:b></html:td>
<html:td><html:select id="EnemyRecentlyHit" style="width: 100%;">
<html:option value="0" selected="selected">None</html:option>
<html:option value="1">Couple</html:option>
<html:option value="2">Moderately</html:option>
<html:option value="3">Heavily</html:option>
<html:option value="4">Extremely</html:option>
</html:select></html:td>
</html:tr>

<html:tr>
<html:td><html:input style="background:transparent; border:0px solid #000;" id="EnemyPeasantsBox" disabled="disabled" type="checkbox" value="ON" /> <html:b><html:input id="EnemyPeasantsName" style="border: 0px solid ; font-weight: bold; font-size: 12px; background-color: transparent;" size="9" value="Peasants:" disabled="disabled" type="text" /></html:b></html:td>
<html:td><html:input style="width: 76px;" id="EnemyPeasants" value="0" disabled="disabled" type="text" size="10" /></html:td>
</html:tr>

<html:tr>
<html:td><html:input style="background:transparent; border:0px solid #000;" id="EnemyMonarchBox" disabled="disabled" type="checkbox" value="ON" /> <html:b><html:input id="EnemyMonarchName" style="border: 0px solid ; font-weight: bold; font-size: 12px; background-color: transparent;" size="9" value="Monarch" disabled="disabled" type="text" /></html:b></html:td>
<html:td valign="top" align="center"><html:img id="EnemyPlagueImage" src="chrome://Ultima/content/Military_Plague.gif" style="display: none;" width="40" height="48" alt="plague" /></html:td>
</html:tr>

<html:tr>
<html:td colspan="2" style="background-image: url(chrome://Ultima/content/Ultima_Hsep.gif); height:8px;" align="center" valign="top"></html:td>
</html:tr>


<html:tr>
<html:td colspan="2" valign="top" align="center">

<html:input onclick="EspionageRange0();"  id="EspionageR0"  value="Accurate" style="background-color: transparent; font-size: 8pt; font-weight: bold; width: 40%;" type="button" disabled="disabled" />
<html:input onclick="EspionageRange25();" id="EspionageR25" value="-/+25%"   style="background-color: transparent; font-size: 8pt; font-weight: bold; width: 40%;" type="button" />

</html:td>
</html:tr>

<html:tr>
<html:td colspan="2" valign="top" align="center">

<html:b id="EspionageInfo">Espionage Is 100% Accurate</html:b>

</html:td>
</html:tr>

</html:tbody></html:table>



</html:td>
</html:tr>


</html:tbody></html:table>

<script type="text/javascript" src="chrome://Ultima/content/Ultima_Config.js"></script>
<script type="text/javascript" src="chrome://Ultima/content/Calculator_Military.js"></script>

</window>